package com.carkeeper.user.pojo;


import com.alibaba.excel.annotation.ExcelProperty;

import java.io.Serializable;

public class UserAndCar implements Serializable {

    @ExcelProperty(value = "序号",index = 0)
    private Integer id;                    //序号
    @ExcelProperty(value = "车主姓名",index = 1)
    private String nickname;            //昵称
    @ExcelProperty(value = "手机号",index = 2)
    private String phone;               //电话
    @ExcelProperty(value = "状态",index = 3)
    private String status;              //状态
    @ExcelProperty(value = "品牌",index = 4)
    private String name;                    //名称
    @ExcelProperty(value = "车牌",index = 7)
    private String code;                    //车牌号
    @ExcelProperty(value = "车型",index = 6)
    private String series;                  //型号
    @ExcelProperty(value = "车系",index = 5)
    private String mode;                    //系列
    @ExcelProperty(value = "发动机号",index = 9)
    private String engineCode;              //发动机号
    @ExcelProperty(value = "车架号",index = 8)
    private String frameCode;               //VIN码

    public UserAndCar() {
    }

    public UserAndCar(String nickname, String phone, String status, String name, String code, String series, String mode, String engineCode, String frameCode) {
        this.nickname = nickname;
        this.phone = phone;
        this.status = status;
        this.name = name;
        this.code = code;
        this.series = series;
        this.mode = mode;
        this.engineCode = engineCode;
        this.frameCode = frameCode;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSeries() {
        return series;
    }

    public void setSeries(String series) {
        this.series = series;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getEngineCode() {
        return engineCode;
    }

    public void setEngineCode(String engineCode) {
        this.engineCode = engineCode;
    }

    public String getFrameCode() {
        return frameCode;
    }

    public void setFrameCode(String frameCode) {
        this.frameCode = frameCode;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
